GXPD 39 - PostScript Color Printing Bug
Title Banner


Technical Q&A's


GXPD 39 - PostScript Color Printing Bug (14-May-96)


Q n my app, I'm creating a page that contains a line of single layer text shapes, with each word being a different color. The page displays correctly when it's opened in SimpleText, but shows a bug when it's printed to a PostScript printer: each line prints with one color instead of each word being a different color. Any ideas?

A This is a bug in the GX source code. This bug only occurs with single layer text shapes that have a nil style in their face layer. There is a workaround. Do this anytime you do a one layer text face except for italicizing text: this workaround slows down the italic drawing but speeds up all other cases.

Create a 'generic' style object (via GXNewStyle) to replace the nil style. Set the text size to 1.0 (important) and pen=0 in the style. The other fields are irrelevant to this fix. The main points are text and pen size. Set your style to this 'generic' style and the problem will disappear.

Technical Support
Technical Q&As
Previous Question | Contents | Next Question

Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help